home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Magazine / GraphicsCards / StormMesa / src / zoom.h < prev   
C/C++ Source or Header  |  1999-02-04  |  2KB  |  70 lines

  1. /* $Id: zoom.h,v 3.2 1998/03/28 03:57:13 brianp Exp $ */
  2.  
  3. /*
  4.  * Mesa 3-D graphics library
  5.  * Version:  3.0
  6.  * Copyright (C) 1995-1998  Brian Paul
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Library General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Library General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Library General Public
  19.  * License along with this library; if not, write to the Free
  20.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  */
  22.  
  23.  
  24. /*
  25.  * $Log: zoom.h,v $
  26.  * Revision 3.2  1998/03/28 03:57:13  brianp
  27.  * added CONST macro to fix IRIX compilation problems
  28.  *
  29.  * Revision 3.1  1998/02/08 20:22:40  brianp
  30.  * added gl_write_zoomed_rgb_span()
  31.  *
  32.  * Revision 3.0  1998/02/01 22:13:55  brianp
  33.  * initial rev
  34.  *
  35.  */
  36.  
  37.  
  38. #ifndef ZOOM_H
  39. #define ZOOM_H
  40.  
  41.  
  42. #include "types.h"
  43.  
  44.  
  45. extern void
  46. gl_write_zoomed_rgba_span( GLcontext *ctx,
  47.                            GLuint n, GLint x, GLint y, const GLdepth z[],
  48.                            CONST GLubyte rgba[][4], GLint y0 );
  49.  
  50.  
  51. extern void
  52. gl_write_zoomed_rgb_span( GLcontext *ctx,
  53.                           GLuint n, GLint x, GLint y, const GLdepth z[],
  54.                           CONST GLubyte rgb[][3], GLint y0 );
  55.  
  56.  
  57. extern void
  58. gl_write_zoomed_index_span( GLcontext *ctx,
  59.                             GLuint n, GLint x, GLint y, const GLdepth z[],
  60.                             const GLuint indexes[], GLint y0 );
  61.  
  62.  
  63. extern void
  64. gl_write_zoomed_stencil_span( GLcontext *ctx,
  65.                               GLuint n, GLint x, GLint y,
  66.                               const GLubyte stencil[], GLint y0 );
  67.  
  68.  
  69. #endif
  70.